import { request } from "./request.js";

export function deleteRights(roleid,rightId) {
  return request({
    method: "delete",
    url: `roles/${roleid}/rights/${rightId}`,

  });
}